home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gTREndGame, gTRWinnerFrameRelease, gSISystem, gSIActiveWindow, gSIHParentWnd
- if gSISystem = "WIN" then
- set vHWnd to gSIActiveWindow(mCall)
- if vHWnd <> gSIHParentWnd then
- go(the frame)
- exit
- end if
- end if
- put "In Frame 27"
- if gTREndGame then
- go("StopGame")
- else
- if not gTRWinnerFrameRelease then
- put "Holding"
- go(the frame)
- end if
- put "Released"
- end if
- end
-